const getters = {
	messageList: state => state.message.messageList,
	userInfo: state => state.userinfo.userInfo,
	userlist:state=>state.userinfo.userlist,
	token:state=>state.userinfo.token,
	activeItem:state=>state.userinfo.activeItem,
	socket:state=>state.sorket.socket,
	newMessage:state=>state.sorket.newMessage,
	isGetRelationshiplist:state=>state.sorket.isGetRelationshiplist,
	onlineUsers:state=>state.sorket.onlineUsers,
	userCount:state=>state.sorket.userCount,
	isExecute:state=>state.operation.isExecute,
	isshowbottomBox:state=>state.operation.isshowbottomBox,
	MobilePageCode:state=>state.operation.MobilePageCode,
	position:state=>state.operation.position,
	stateItem:state=>state.state.stateItem,
	// 获取视频的初始化状态
	isVideoInitialized: (state) => (videoId) => {
	  return state.videos.initializedVideos[videoId] === true;
	}
}
export default getters
